//
//  chara.h
//  rpg-purdue
//
//  Created by Huyue Gu on 9/17/11.
//  Copyright 2011 Purdue University. All rights reserved.
//

#ifndef rpg_purdue_enemy_h
#define rpg_purdue_enemy_h

struct monster_po{
    int x;
    int y;
    
}

class Monster {
    struct monster_po;
    int hp;  // hp

    bool alive; //判断是否存活
    int state;
    int item;
    
    
public:
    void changeP(int x,int y){}
    bool damage(int);//make a decrese of hp and return false is hp is less than 0
    void changeS(int);//change role's state
    bool useMp(int);//decrease mp return false when mp<0
    Monster();
    ~Monster();
    
};


#endif
